package com.snow4cloud.common.security.annotation;

import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启用资源服务
 *
 * @Description
 * @Author fanxl
 * @Date 2021/5/7
 **/
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@EnableResourceServer
public @interface EnableSnowResourceServer {
}
